package com.ifonly.mvc;

import com.ifonly.aop.Invocation;
import com.ifonly.interceptor.Interceptor;

/**
 * @author <a href="mailto:ifonlymaster@163.com">ifonly</a>
 * @version 1.0 2015-12-10 22:19
 * @since JDK 1.6
 */
public abstract class ActionInterceptor implements Interceptor {

    @Override
    public void intercept(Invocation iv) {
        this.doIntercept((ActionInvocation) iv);
    }

    public abstract void doIntercept(ActionInvocation iv);

}
